package com.heart.sell.service.impl;

import com.heart.sell.dao.SellerInfoMapper;
import com.heart.sell.pojo.SellerInfo;
import com.heart.sell.service.SellerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author Luo Zhen
 * @create 2019-04-30 14:44
 */
@Service
public class DefaultSellerServiceImpl implements SellerService {

    @Autowired
    private SellerInfoMapper sellerInfoMapper;

    @Override
    public SellerInfo findSellerByOpenid(String openid) {
        return sellerInfoMapper.findByOpenid(openid);
    }
}
